import { BaseBeanData } from '@/model/base/baseModel'

// 后台返回前台用户实体bean对应model
export interface UserBeanData {
    id: string;
    name: string;
    password: string;
    logname: string;
    rowStatus: string;
    showOrder: number;
    deptId:string;
}

// 用户session对应model
export interface UserSessionBeanData {
  userId: string;
  userName: string;
  userType: string;
  currentDept: string;
  currentOrg: string;
  currentUnit: number;
  depts:string;
  roles:string;
  privileges:string
}

export interface UserList {
    list: Array<UserBeanData>;
    total: number
}

// 后台返回前台用户实体bean对应model
export interface OrgUserBeanData extends BaseBeanData{
  userId: string;
  orgId:string;
  isMain:number;
}

// 用户组件
export interface UserSelectBeanData{
  fid: string;
  search: string;
  tags:[]
}
